package com.heima.article.msg;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文章行为聚合结果
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleBehaviorStreamMsg {

    /**
     * 文章id
     */
    private Long articleId;

    /**
     * 收藏
     */
    private Integer collection = 0;
    /**
     * 评论
     */
    private Integer comment = 0;
    /**
     * 点赞
     */
    private Integer likes = 0;
    /**
     * 查看
     */
    private Integer views = 0;
}
